import db = require('../../pao/server/db');
import pao = require('../../pao/public');
import server = require('../../pao/server/server');
import graphViewCmd = require('../../views/graphView');
import barViewCmd = require('../../views/barView');

let dataService = new db.dataServiceFetcher();

dataService.connectionInfo = new db.dataConnectionInfo();

dataService.connectionInfo.dbConnection = {
    type: "mysql",
    host: "localhost",
    port: 3306,
    database: "world",
    username: "root",
    password: "root",
    autoSchemaSync: false
};
dataService.commandList = [];
dataService.commandList.push(graphViewCmd.cmd_dj_nsrxx);
dataService.commandList.push(barViewCmd.cmd_city_population);


pao.fetchAddonProtoType(dataService);
export let dataServiceInfo = new server.serviceInfo();
dataServiceInfo.serviceName = "example";
dataServiceInfo.serviceObject = dataService;


